Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Auth Tokens storage from Local Storage to custom encrypted .sdks file #2831

Merged
merged 4 commits into from
Dec 15, 2024

Conversation

Rocky43007
Copy link
Contributor

This PR moves the storage of the auth tokens created by SuperTokens from the localStorage of the app to a custom .sdks file. The cookie string is now encrypted and can only be fetched via RSPC.

We need to have it in our crates folder due to the dependency of `sd-crypto` for the handling of cookies.
@Rocky43007 Rocky43007 requested review from a team as code owners December 14, 2024 22:35
Copy link

vercel bot commented Dec 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spacedrive-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 14, 2024 10:43pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
spacedrive-landing ⬜️ Ignored (Inspect) Visit Preview Dec 14, 2024 10:43pm

@Rocky43007 Rocky43007 merged commit c839d7d into main Dec 15, 2024
9 of 13 checks passed
@Rocky43007 Rocky43007 deleted the rocky/encrypt-auth branch December 15, 2024 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant